package com.weijin.bookborrowmanagesystem.factory;

import javax.validation.constraints.NotNull;

/**
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/13 11:00
 */
public class StudentBorrowUtil implements BorrowUtil {

    @Override
    public boolean isAbleBorrow(@NotNull Integer unReturnCount) {
        return unReturnCount < 5;
    }
}
